package com.hdax.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.common.utils.PageUtils;
import com.hdax.gulimall.product.entity.PmsSpuInfoDescEntity;
import com.hdax.gulimall.product.entity.PmsSpuInfoEntity;
import com.hdax.gulimall.product.vo.AddProduct.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author xiaohou
 * @email s2687781461@qq.com
 * @date 2023-04-07 17:41:13
 */
public interface PmsSpuInfoService extends IService<PmsSpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    Integer saveBaseSpuInfo(PmsSpuInfoEntity pmsSpuInfoEntity);


    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuinfo);

    PmsSpuInfoEntity getSpuInfoBySkuId(Long id);
}

